FROM mirror.taikangcloud.com/docker.io/python:3.6
WORKDIR /app
COPY requirements.txt ./
RUN apt-get update
RUN apt install -y libgl1-mesa-glx
RUN pip install -r requirements.txt
RUN rm -rf /root/.paddlehub/tmp
COPY . .
EXPOSE 5000
CMD ["python", "app.py"]